package com.myosw.service;

import java.util.List;

import com.myosw.dao.VisitlogDao;
import com.myosw.entity.PageShow;
import com.myosw.entity.VisitlogShow;
import com.myosw.pojo.Filter;

public class VisitlogService 
{

	public List<VisitlogShow> getTop(int from, int to) 
	{
		return visitlogDao.getTop(from, to);
		
	}
	
	public PageShow getFilters(int page,int size,String url) 
	{
		
		return new PageShow(visitlogDao.getlogList(page, size, url), page, size, visitlogDao.getlogCount(url));
		
	}
	VisitlogDao visitlogDao = new VisitlogDao();
}
